Total Complexity | 57 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 517 |
Lines of code | 297 |
Logical lines of code | 126 |
Comment lines | 105 |
Methods | 6 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
role_switcher_to_view_admin_as() | 34 | 28 | 89 | |
view_admin_as_admin_bar_menu() | 39 | 14 | 69 | |
maybe_prevent_switchback_to_administrator() | 54 | 6 | 20 | |
get_roles_to_switch_to() | 48 | 4 | 37 | |
custom_error_page_on_switch_failure() | 58 | 1 | 69 | |
add_floating_reset_button() | 60 | 4 | 13 |